package co.gov.medellin.ssti.sub.web.form;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;

public class IngresarRestriccionForm extends ActionForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3216822142436236205L;

	/**
	 * Reset all properties to their default values.
	 * 
	 * @param mapping
	 *            The ActionMapping used to select this instance.
	 * @param request
	 *            The HTTP Request we are processing.
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
	}

	/**
	 * Validate all properties to their default values.
	 * 
	 * @param mapping
	 *            The ActionMapping used to select this instance.
	 * @param request
	 *            The HTTP Request we are processing.
	 * @return ActionErrors A list of all errors found.
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		return super.validate(mapping, request);
	}

	private String codigo;
	private String descripcion;
	private String operador;
	private String operando1;
	private String operando2;
	private String alerta;
	private String vigencia;

	public void setCodigo(String codigo) {
		this.codigo = codigo;
	}

	public String getCodigo() {
		return codigo;
	}

	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}

	public String getDescripcion() {
		return descripcion;
	}

	public void setOperador(String operador) {
		this.operador = operador;
	}

	public String getOperador() {
		return operador;
	}

	public void setOperando1(String operando1) {
		this.operando1 = operando1;
	}

	public String getOperando1() {
		return operando1;
	}

	public void setOperando2(String operando2) {
		this.operando2 = operando2;
	}

	public String getOperando2() {
		return operando2;
	}

	public void setAlerta(String alerta) {
		this.alerta = alerta;
	}

	public String getAlerta() {
		return alerta;
	}

	public void setVigencia(String vigencia) {
		this.vigencia = vigencia;
	}

	public String getVigencia() {
		return vigencia;
	}

}